Update gtktreestore.c: gtk_tree_store_remove didn't have the proper comment annotation
authorDanny Milosavljevic <dannym+a@scratchpost.org>
Sun, 27 Sep 2020 15:03:03 +0000 (15:03 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 27 Sep 2020 15:03:03 +0000 (15:03 +0000)
"inout" for the parameter ITER passed.  This means that bindings would misjudge what
the function does.  In the case of guile-gi, it would be misjudged for a predicate,
see gulie-gi bug 87.

gtk/gtktreestore.c

index 27cc237a49c7893e466e41e083fef43b2f56e8fe..abc7ca36d49875a57788469a85ca092da2bcce39 100644 (file)
@@ -1192,7 +1192,7 @@ gtk_tree_store_set (GtkTreeStore *tree_store,
 /**
  * gtk_tree_store_remove:
  * @tree_store: A #GtkTreeStore
- * @iter: A valid #GtkTreeIter
+ * @iter: (inout): A valid #GtkTreeIter
  * 
  * Removes @iter from @tree_store.  After being removed, @iter is set to the
  * next valid row at that level, or invalidated if it previously pointed to the